package com.xixisleep.yebackendcommon.utils;


import org.apache.commons.lang3.StringUtils;

/**
 * SQL 工具
 *
 * @author xixisleep
 */
public class SqlUtils {

    public static boolean validSortField(String sortField){
        if (StringUtils.isBlank(sortField)) {
            return false;
        }
        return !StringUtils.containsAny(sortField, "=", "(", ")", " ");
    }
}
